package com.gaff.emp.core.modules.perm.service;

import com.gaff.emp.core.modules.perm.controller.menu.form.CreateCatalogForm;
import com.gaff.emp.core.modules.perm.controller.menu.form.CreateMenuForm;
import com.gaff.emp.core.modules.perm.controller.menu.form.UpdateMenuForm;
import com.gaff.emp.core.modules.perm.entity.SysMenu;

import java.util.List;


public interface SysMenuService {

    List<SysMenu> queryAllMenus();

    SysMenu queryMenuById(Integer id);

    void createCatalog(CreateCatalogForm form);

    void createMenu(CreateMenuForm form);

    void updateMenu(UpdateMenuForm form);

    void deleteById(Integer id);

}
